package com.StarStudio.Service;


import com.ruoyi.common.core.Entity.Orders;
import com.ruoyi.common.core.Entity.PanicBuyingOrders;

import java.util.List;

public interface PanicBuyingOrdersService {
    List<PanicBuyingOrders> findPanicBuyingOrdersList(PanicBuyingOrders panicBuyingOrders);

    long findTotalRecord();

    void NewPanicBuyingOrders(Orders orders) throws InterruptedException;

    Long findOrderIdByCondition(long user_id, int type, long thingsId);

    long findStoreTotalRecord(Long userId);

    List<PanicBuyingOrders> findPanicBuyingGoodsOrdersList(PanicBuyingOrders panicBuyingOrders);

    long findPanicBuyingGoodsOrdersTotalRecord();

    long findStorePanicBuyingGoodsOrdersTotalRecord(Long storeId);

    List<PanicBuyingOrders> findPanicBuyingCouponsOrdersList(PanicBuyingOrders panicBuyingOrders);

    long findPanicBuyingCouponsOrdersTotalRecord();

    long findStorePanicBuyingCouponsOrdersTotalRecord(Long storeId);

    List<Long> findUserIdListByGoodsId(Long panicBuyingGoodsId);

    List<Long> findUserIdListByCouponsId(Long couponsId);
}
